package cn.changein.framework.kernel.model.tree;

import java.util.List;

/**
 * <p>
 *  构造树节点的接口规范
 * </p>
 *

 * @Date: 2020-10-27 12:56
 * @Copyright: companyName
 * @Version 1.0
 * @Since JDK1.8
 */
public interface Tree {

    /**
     * 获取节点id
     */
    String getNodeId();

    /**
     * 获取节点父id
     */
    String getNodeParentId();

    /**
     * 设置children
     */
    void setChildrenNodes(List childrenNodes);
}
